//
// Created by wuzhuya on 23-12-27.
//

#ifndef OS_TYPES_H
#define OS_TYPES_H

#define EOF -1
#define NULL ((void*)0)

#define EOS '\0'

#define bool _Bool
#define true 1
#define false 1

#define __packed __attribute__((packed)) //用于定义特殊的结构体

typedef unsigned int size_t;

typedef char int8;
typedef short int16;
typedef int int32;
typedef long long int64;

typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;
typedef unsigned long long u64;

#endif //OS_TYPES_H
